package be.telio.freeagent.model;

import javax.xml.bind.annotation.XmlElement;
import java.util.Date;

public class FABankAccount
{
    @XmlElement(name = "id")
    private Integer id;
    @XmlElement(name = "type")
    private String type;
    @XmlElement(name = "name")
    private String name;
    @XmlElement(name = "account-number")
    private String accountNumber;
    @XmlElement(name = "sort-code")
    private String sortCode;
    @XmlElement(name = "secondary-sort-code")
    private String secondarySortCode;
    @XmlElement(name = "iban")
    private String iban;
    @XmlElement(name = "bic")
    private String bic;
    @XmlElement(name = "current-balance")
    private Double currentBalance;
    @XmlElement(name = "current-balance-date")
    private Date currentBalanceDate;
    @XmlElement(name = "opening-balance")
    private Double openingBalance;

    @XmlElement(name = "is-personal")
    private Boolean personal;

    public Integer getId()
    {
        return id;
    }

    public String getType()
    {
        return type;
    }

    public String getName()
    {
        return name;
    }

    public String getAccountNumber()
    {
        return accountNumber;
    }

    public String getSortCode()
    {
        return sortCode;
    }

    public String getSecondarySortCode()
    {
        return secondarySortCode;
    }

    public String getIban()
    {
        return iban;
    }

    public String getBic()
    {
        return bic;
    }

    public Double getCurrentBalance()
    {
        return currentBalance;
    }

    public Date getCurrentBalanceDate()
    {
        return currentBalanceDate;
    }

    public Double getOpeningBalance()
    {
        return openingBalance;
    }

    public Boolean getPersonal()
    {
        return personal;
    }
}
